/**
 * 创建于 2019-03-10
 * 作者: SHERlocked93
 * 功能: resolvers 实现
 */

import Db from '../db'

export default {
    Query: {
        users: (parent, args) => Db.users({}),
        user: (parent, { id }) => Db.user({ id })
    }
}
